#include "entity.h"

CEntity::CEntity( ) : entity_link_( this )
{
	instance_id_ = 0;
	angle_ = 0;
	cur_speed_ = 0.0f;
	client_key_ = 0;
	m_scene_id = 0;
}

CEntity::~CEntity( )
{
}

int32_t CEntity::GetSceneId()
{
	return m_scene_id ? m_scene_id : 20000;
}

int32_t CEntity::SetSceneId(uint32_t scene_id)
{
	m_scene_id = scene_id;
	return m_scene_id;
}
